<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
<head>
<style>
p::first-letter{
    color: #ff0000;
    font-size: xx-large;
}
</style>
</head>
<body>
    <p>您可以使用 ::first-letter 伪元素为文本的第一个字符添加特殊效果！</p> 
</body>
</html>